package com.iweb.blog.service;

import com.iweb.blog.dao.pojo.SysUser;
import com.iweb.blog.vo.Result;

public interface SysUserService {
    String findNickNameByAuthorId(Long authorId);

    SysUser findUser(String account, String pwd);

    Result getUserInfoByToken(String token);

    SysUser findUserByAccount(String account);

    void save(SysUser sysUser);
}
